<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
    <input type="hidden" name="gid" value='{$group.id|default=""}'>

    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input value="{$group.title}" class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">选择文件</label>
        <div class="layui-input-block">
            <div class="row">
                <div class="col-sm-8 padding-right-0">
                    <input style="border-right:none" name="member_excel" value="{$vo.goods_video|default=''}" class="layui-input" title="请上传EXCEL文件" placeholder="请上传EXCEL文件">
                </div>
                <div class="col-sm-2 padding-left-0">
                    <button data-file="one" data-type="xlsx" data-field="member_excel" type="button" class="layui-btn layui-btn-sm" style="height:3.8rem;line-height:3.8rem;width:100%">上传文件</button>
                </div>
            </div>
        </div>
    </div>

    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>

<script>
    (function () {
        window.form.render();
    })();

    $(function () {
        date = new Date();
        layui.use('laydate', function(){
            var laydate = layui.laydate;

            laydate.render({
                elem: '#start_date',
                min: 'date',
            });

            laydate.render({
                elem: '#end_date',
                min: 'date',
            });
        });
    });
</script>
